package com.yanqu.road.entity.wineshop;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ：zfr
 * @date ：2021/7/19 11:19
 */
public class WineShopBeautyArray {
    private long arrayId;
    private long generateTime;
    private long enterWineShopTime;
    private List<WineShopBeauty> wineShopBeautyList = new ArrayList<>();
    private boolean isTakeItTwo;

    public long getArrayId() {
        return arrayId;
    }

    public void setArrayId(long arrayId) {
        this.arrayId = arrayId;
    }

    public long getGenerateTime() {
        return generateTime;
    }

    public void setGenerateTime(long generateTime) {
        this.generateTime = generateTime;
    }

    public long getEnterWineShopTime() {
        return enterWineShopTime;
    }

    public void setEnterWineShopTime(long enterWineShopTime) {
        this.enterWineShopTime = enterWineShopTime;
        for (WineShopBeauty wineShopBeauty : this.getWineShopBeautyList()) {
            wineShopBeauty.setEnterWineShopTime(enterWineShopTime);
        }
    }

    public List<WineShopBeauty> getWineShopBeautyList() {
        return wineShopBeautyList;
    }

    public void setWineShopBeautyList(List<WineShopBeauty> wineShopBeautyList) {
        this.wineShopBeautyList = wineShopBeautyList;
    }

    public void addWineShopBeauty(WineShopBeauty beauty) {
        this.wineShopBeautyList.add(beauty);
    }

    public boolean isTakeItTwo() {
        return isTakeItTwo;
    }

    public void setTakeItTwo(boolean takeItTwo) {
        isTakeItTwo = takeItTwo;
    }
}
